﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ERB.UserControl.Navigation
{
    public partial class Breadcrumb : System.Web.UI.UserControl
    {
        private string _level1text = "";
        public string level1text
        {
            get { return _level1text; }
            set { _level1text = value; }
        }
        private string _level1url = "";
        public string level1url
        {
            get { return _level1url; }
            set { _level1url = value; }
        }
        private string _level2text = "";
        public string level2text
        {
            get { return _level2text; }
            set { _level2text = value; }
        }
        private string _level2url = "";
        public string level2url
        {
            get { return _level2url; }
            set { _level2url = value; }
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                hplLevel1.Text = _level1text;
                hplLevel1.NavigateUrl = _level1url;

                hplLevel2.Text = _level2text;
                hplLevel2.NavigateUrl = _level2url;
            }
        }
    }
}